import Layout from '@/pages/layout/index'

import form01 from '@/pages/ProcessConsole/ProcessForms/form01'
import form02 from '@/pages/ProcessConsole/ProcessForms/form02'
import form03 from '@/pages/ProcessConsole/ProcessForms/form03'
import form04 from '@/pages/ProcessConsole/ProcessForms/form04'
import form05 from '@/pages/ProcessConsole/ProcessForms/form05'

import form06 from '@/pages/ProcessConsole/ProcessForms/form06'
import form07 from '@/pages/ProcessConsole/ProcessForms/form07'
import form08 from '@/pages/ProcessConsole/ProcessForms/form08'
import form09 from '@/pages/ProcessConsole/ProcessForms/form09'
import formCommon from '@/pages/ProcessConsole/ProcessForms/formCommon'

const processRouter = {
  path: '/ProcessConsole',
  component: Layout,
  children: [
    {
      path: '/ProcessConsole/flow01',
      meta: {
        title: '新员工入网申请'
      },
      component: form01
    },
    {
      path: '/ProcessConsole/flow02',
      meta: {
        title: '在职人员更换电脑申请'
      },
      component: form02
    },
    {
      path: '/ProcessConsole/flow03',
      meta: {
        title: '在职人员更换位置申请'
      },
      component: form03
    },
    {
      path: '/ProcessConsole/flow04',
      meta: {
        title: '离职人员归还电脑申请'
      },
      component: form04
    },
    {
      path: '/ProcessConsole/flow05',
      meta: {
        title: '电脑及网络维修申请'
      },
      component: form05
    },
    {
      path: '/ProcessConsole/flow06',
      meta: {
        title: '笔记本及配套U盘出借申请'
      },
      component: form06
    },
    {
      path: '/ProcessConsole/flow07',
      meta: {
        title: '应用软件安装申请'
      },
      component: form07
    },
    {
      path: '/ProcessConsole/flow08',
      meta: {
        title: '应用系统权限变更申请'
      },
      component: form08
    },
    {
      path: '/ProcessConsole/flow09',
      meta: {
        title: '人员密级变更申请'
      },
      component: form09
    },
    {
      path: '/ProcessConsole/formCommon',
      meta: {
        title: '流程申请表单'
      },
      component: formCommon
    },
  ]
}

export default processRouter;